# -*- coding: utf-8 -*-
#
import logging
import qrcode
import base64
from io import BytesIO
from odoo import api, fields, models
from PIL import Image,ImageFont,ImageDraw
from odoo import tools, _
from odoo.exceptions import ValidationError, AccessError
from odoo.modules.module import get_module_resource
import json
_logger = logging.getLogger(__name__)

class InheritResUsers(models.Model):
    _inherit = 'res.users'

    config_id = fields.Many2one("pos.config",_("Belongs To POS"))
    # belonged_to_pos_id = fields.Integer( related = "belonged_to_pos.id",string = "ID", readonly=True)
    #belonged_to_pos = fields.Char(u"属于POS")
